﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:geo="clr-namespace:DeepEarth.Toolkit.Geometry">

    <Style TargetType="geo:PushpinIcon">
        <Setter Property="Fill" Value="Blue" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="geo:PushpinIcon">
                    <Grid>
                        <Canvas Width="17" Height="32">
                            <Path x:Name="Pinpoint" Width="2.355" Height="7.146" Canvas.Left="7.089" Canvas.Top="24.646" Stretch="Fill" Fill="#FF727272" Data="F1 M 14.5833,37.7708L 15.334,42.112L 16.334,44.8333L 16.778,42L 16.9382,37.6868C 16.9382,37.6868 15.6243,37.9375 14.5833,37.7708 Z "/>
                            <Path x:Name="Round_base" Width="16.339" Height="12.681" Canvas.Left="0.002" Canvas.Top="12.113" Stretch="Fill" Data="F1 M 7.5,32C 7.66797,36.7799 13.1667,37.8346 15.3346,37.8346L 15.3346,37.8346C 17.4987,37.8346 23.7682,36.9349 23.8346,31.1133L 23.8346,31.1133C 23.888,26.0547 16.776,25.2214 15.8893,25.1667L 15.8893,25.1667C 15.7376,25.1589 15.5814,25.1536 15.4238,25.1536L 15.4238,25.1536C 11.9642,25.1536 7.33854,27.4277 7.5,32 Z " Fill="{TemplateBinding Fill}"/>
                            <Path x:Name="Round_base_Mask" Width="16.339" Height="12.681" Canvas.Left="0.002" Canvas.Top="12.113" Stretch="Fill" Data="F1 M 7.5,32C 7.66797,36.7799 13.1667,37.8346 15.3346,37.8346L 15.3346,37.8346C 17.4987,37.8346 23.7682,36.9349 23.8346,31.1133L 23.8346,31.1133C 23.888,26.0547 16.776,25.2214 15.8893,25.1667L 15.8893,25.1667C 15.7376,25.1589 15.5814,25.1536 15.4238,25.1536L 15.4238,25.1536C 11.9642,25.1536 7.33854,27.4277 7.5,32 Z ">
                                <Path.Fill>
                                    <RadialGradientBrush RadiusX="0.560988" RadiusY="0.722815" Center="0.731262,0.259524" GradientOrigin="0.731262,0.259524">
                                        <RadialGradientBrush.RelativeTransform>
                                            <TransformGroup/>
                                        </RadialGradientBrush.RelativeTransform>
                                        <GradientStop Color="#0000040E" Offset="0.009"/>
                                        <GradientStop Color="#8000040E" Offset="0.649877"/>
                                        <GradientStop Color="#FF00040E" Offset="1"/>
                                    </RadialGradientBrush>
                                </Path.Fill>
                            </Path>
                            <Path x:Name="Base" Width="6.333" Height="9.145" Canvas.Left="5.006" Canvas.Top="8.515" Stretch="Fill" Fill="{TemplateBinding Fill}" Data="F1 M 18.8333,21.556L 18.7773,29.112C 18.7773,29.112 16.1667,32.612 12.5,29.2227L 12.5,21.6667C 16.2507,22.5117 17.5521,22.0918 18.8333,21.556 Z "/>
                            <Path x:Name="base_shaddow" Width="9.861" Height="14.722" Canvas.Left="0.728" Canvas.Top="8.686" Stretch="Fill" Fill="#83000000" Data="F1 M 12.5703,21.7272C 12.5703,21.7272 15.1113,22.7227 18.0007,22.1107C 18.0553,28.1667 18.0833,29.8958 18.0833,29.8958C 18.0833,29.8958 12.263,36.6309 11.722,36.4453C 9.61133,35.7227 8.222,33.7786 8.222,33.7786C 8.222,33.7786 8.66732,30.6667 12.5007,29.2227C 12.6113,27.6667 12.5703,21.7272 12.5703,21.7272 Z "/>
                            <Path x:Name="Hightlight" Width="1.563" Height="2.896" Canvas.Left="10.673" Canvas.Top="13.897" Stretch="Fill" Fill="#C5FFFFFF" Data="F1 M 18.8333,26.9375C 18.8333,26.9375 19.7507,27.6042 19.7292,28.2493C 19.7064,28.9616 19.6563,29.1777 19.2507,29.5827C 19.0625,29.7708 18.1667,29.8333 18.1667,29.8333L 18.8548,29.1042L 18.8333,26.9375 Z "/>
                            <Path x:Name="pin_head" Width="12.336" Height="9.342" Canvas.Left="2.338" Canvas.Top="0.013" Stretch="Fill" Data="F1 M 9.83203,17.7227C 9.83203,20.0013 11.8893,22.556 16.0534,22.388L 16.0534,22.388C 20.2214,22.2227 22.168,19.944 22.168,17.6654L 22.168,17.6654C 22.168,15.8333 20.1107,13.1107 16.0534,13.0534L 15.9694,13.0534L 15.9694,13.0534C 12.8333,13.0534 9.83203,15.4642 9.83203,17.7227 Z " Fill="{TemplateBinding Fill}"/>
                            <Path x:Name="pin_head_Mask" Width="12.336" Height="9.342" Canvas.Left="2.338" Canvas.Top="0.013" Stretch="Fill" Data="F1 M 9.83203,17.7227C 9.83203,20.0013 11.8893,22.556 16.0534,22.388L 16.0534,22.388C 20.2214,22.2227 22.168,19.944 22.168,17.6654L 22.168,17.6654C 22.168,15.8333 20.1107,13.1107 16.0534,13.0534L 15.9694,13.0534L 15.9694,13.0534C 12.8333,13.0534 9.83203,15.4642 9.83203,17.7227 Z ">
                                <Path.Fill>
                                    <RadialGradientBrush RadiusX="0.72757" RadiusY="0.960692" Center="0.675586,0.0954698" GradientOrigin="0.675586,0.0954698">
                                        <RadialGradientBrush.RelativeTransform>
                                            <TransformGroup/>
                                        </RadialGradientBrush.RelativeTransform>
                                        <GradientStop Color="#0000040E" Offset="0"/>
                                        <GradientStop Color="#4D00040E" Offset="0.649877"/>
                                        <GradientStop Color="#B100040E" Offset="1"/>
                                    </RadialGradientBrush>
                                </Path.Fill>
                            </Path>
                        </Canvas>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
